package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.ProRepairMoneys;

/**
 * 维修器件金额Mapper接口
 * 
 * @author ruoyi
 * @date 2020-07-09
 */
public interface ProRepairMoneysMapper 
{
    /**
     * 查询维修器件金额
     * 
     * @param pId 维修器件金额ID
     * @return 维修器件金额
     */
    public ProRepairMoneys selectProRepairMoneysById(Long pId);

    /**
     * 查询维修器件金额列表
     * 
     * @param proRepairMoneys 维修器件金额
     * @return 维修器件金额集合
     */
    public List<ProRepairMoneys> selectProRepairMoneysList(ProRepairMoneys proRepairMoneys);

    /**
     * 新增维修器件金额
     * 
     * @param proRepairMoneys 维修器件金额
     * @return 结果
     */
    public int insertProRepairMoneys(ProRepairMoneys proRepairMoneys);

    /**
     * 修改维修器件金额
     * 
     * @param proRepairMoneys 维修器件金额
     * @return 结果
     */
    public int updateProRepairMoneys(ProRepairMoneys proRepairMoneys);

    /**
     * 删除维修器件金额
     * 
     * @param pId 维修器件金额ID
     * @return 结果
     */
    public int deleteProRepairMoneysById(Long pId);

    /**
     * 批量删除维修器件金额
     * 
     * @param pIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteProRepairMoneysByIds(String[] pIds);

    /**
     * 按Id查询维修器件金额列表
     *
     * @param mPid 维修器件金额id
     * @return 维修器件金额集合
     */
    public List<ProRepairMoneys> selectMoneysIdList(Long mPid);
}
